$(document).ready(function(){
    $('#input-img').change(function() {
        var file = this.files[0]
        var url = URL.createObjectURL(file)
        $('.unloadimg').attr('src',url)
    })
})